package com.ca.ridersclubapplication.data.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Token implements Handleable {

    private Long id;
    private String email;
    private String token;

    @Override
    public String getKey() {
        return "Token:" + id;
    }
}
